package com.neutech.neufin.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.neutech.po.ExpenseClass;

@Mapper
public interface ExpenseClassMapper {
	//显示所有ExpenseClass表中数据
	public List<ExpenseClass> queryAll();
	//指定id查找ExpenseClass表中数据
	public ExpenseClass findExpenseClassById(int id);
	//添加数据--ExpenseClass表中数据
	public int addNewExpenseClass(ExpenseClass expenseClass);
	//指定查询条件显示expName="+expN"
	public List<Map<String,Object>> getExps(Map<String,Object> map);
	public Integer getExpsCount(Map<String,Object> map);
}
